package com.wu.model;

import java.util.Date;

/**
 * 对于留言表和用户表信息进行链表查询  模型层
 */
public class LeavingamessageUserModel {
    private  Integer id;
    private String username;
    private String email;
    private String content;
    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public LeavingamessageUserModel(Integer id, String username, String email, String content, Date time) {
        this.id = id;
        this.username = username;
        this.email = email;
        this.content = content;
        this.time = time;
    }

    public LeavingamessageUserModel() {

    }

    @Override
    public String toString() {
        return "LeavingamessageUserModel{" +
                "id=" + id +
                ", username=" + username +
                ", email='" + email + '\'' +
                ", content='" + content + '\'' +
                ", time=" + time +
                '}';
    }
}
